{extend name="template/pc/cms/_base.html" /}
{block name="main"}

<div class="container content">

    <div class="right" style="width: 100%;">

        <div class="location">
            <font>{:lang('Search list')}</font>
            <font style="display: none;">{$Request.param.title}</font>
            <span>{:lang('Current location')}：{:getCatpos($cateInfo.id)} {$Request.param.title}</span>
        </div>

        {switch name="cateInfo.model"}
        {case value="Article"}
        {volist name="list" id="vo" empty="$empty"}
        <div class="news-list">
            <ul>
                <li>
                    <a class="list-a" title="{$vo.title}" href="{:url(\''.$Request.param.model.'/detailed',['id'=>$vo.id,'navid'=>$vo.cid])}">
                        <div class="pic fl">
                            <i></i>
                            <img alt="" src="/public/uploads/{$vo.image ?'image/'.$vo.image: 'not.jpg'}">
                        </div>
                        <div class="list-title">{$vo.title}</div>
                        <div class="list-txt">{$vo.miaoshu}</div>
                        <div class="list-time">
                            <span class="list-time-issue">{:lang('Source')}: {$vo.issue} </span>
                            <span class="list-time-right">{notempty name="$vo.create_time"}{$vo.create_time|date="Y-m-d",###}{/notempty}</span>
                        </div>
                    </a>
                </li>
            </ul>
        </div>
        {/volist}
        {/case}

        {case value="Product"}
        <div class="content_product_list">
            <ul>
                {volist name="list" id="vo" empty="$empty"}
                <li class="col-md-3">
                    <a title="{$vo.title}" href="{:url(\''.$Request.param.model.'/detailed',['id'=>$vo.id,'navid'=>$vo.cid])}">
                        <div class="pro-img">
                            <img alt="{$vo.title}" src="/public/uploads/{$vo.image ?'image/'.$vo.image: 'not.jpg'}">
                        </div>

                        <div class="pro-txt">{$vo.title}</div>
                    </a>
                </li>
                {/volist}
            </ul>
        </div>
        {/case}

        {case value="Ucase"}
        <div class="content_product_list">
            <ul>
                {volist name="list" id="vo" empty="$empty"}
                <li class="col-md-3">
                    <a class="articleid" title="{$vo.title}" rel="clearbox[test1]" href="{:url(\''.$Request.param.model.'/detailed',['id'=>$vo.id,'navid'=>$vo.cid])}">
                        <div class="pro-img">
                            <img alt="{$vo.title}" src="/public/uploads/{$vo.image ?'image/'.$vo.image: 'not.jpg'}">
                        </div>

                        <div class="pro-txt">{$vo.title}</div>
                    </a>
                </li>
                {/volist}
            </ul>
        </div>
        {/case}

        {case value="Download"}
        <div class="content_down_list">
            <ul class="down">
                <li class="down-ti">
                    <div>文件名称</div>
                    <div>文件描述</div>
                    <div>创建时间</div>
                    <div>操作</div>
                </li>

                {volist name="list" id="vo" empty="$empty"}
                <li class="down-list">
                    <div>{$vo.title}</div>
                    <div>{$vo.miaoshu}</div>
                    <div>{notempty name="$vo.create_time"}{$vo.create_time|date="Y-m-d",###}{/notempty}</div>
                    <div class="down-more">
                        <a title="互联网 - 湛江小程序,湛江微信运营,湛江小程序开发公司,湛江微商城,湛江包装设计,湛江百度推广,湛江品牌策划,湛江网站建设 - 新闻中心" class="btn radius btn-success" target="_blank" href="/public/uploads/file/{$vo.file}">下载</a>
                        <a title="互联网 - 湛江小程序,湛江微信运营,湛江小程序开发公司,湛江微商城,湛江包装设计,湛江百度推广,湛江品牌策划,湛江网站建设 - 新闻中心" class="btn radius btn-info" target="_blank" href="{:url(\''.$cateInfo.model.'/detailed',['id'=>$vo.id,'navid'=>$vo.cid])}">查看</a>
                    </div>
                </li>
                {/volist}
            </ul>
        </div>
        {/case}

        {case value="Supply|Purchase"}
        <div class="content_news_list">
            {volist name="list" id="vo" empty="$empty"}
            <div class="news-list">
                <ul>
                    <li>
                        <a class="list-a" title="{$vo.title}" href="{:url(\''.$cateInfo.model.'/detailed',['id'=>$vo.id,'navid'=>$cateInfo['id']])}">
                            <div class="pic fl">
                                <i></i>
                                <img alt="" src="__PUBLIC__/uploads/{$vo.image ?'image/'.$vo.image: 'not.jpg'}">
                            </div>
                            <div class="list-title">{$vo.title}</div>
                            <div class="list-txt">{$vo.miaoshu}</div>
                            <div class="list-time">

                                <span class="list-time-right">{notempty name="$vo.create_time"}{$vo.create_time|date="Y-m-d",###}{/notempty}</span>
                            </div>
                        </a>
                    </li>
                </ul>
            </div>
            {/volist}
        </div>
        {/case}
        {/switch}

        <div class="pages">
            <ul class="pagination">
                <li class="">
                    <span>{:lang('Common')} {$list->total()} {:lang('Strip')} / {$list->lastPage()} {:lang('Page')}</span>
                </li>
            </ul>
            {$list->render()}
        </div>

    </div>

</div>

{/block}